﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace Workflow
{
    public partial class SpecialCaseDetail : System.Web.UI.Page
    {
        private GetNumManager objGetNumManager = new GetNumManager();
        public List<Models.GetNum> resultList = new List<Models.GetNum>();
        protected void Page_Load(object sender, EventArgs e)
        {
            string zNum = Request.QueryString["ZNum"].ToString();
            string sapMold = Request.QueryString["SapMold"].ToString();
            try
            {
                resultList = objGetNumManager.GetInfo(zNum, sapMold);
            }
            catch (Exception ex)
            {
                string msg = string.Format("<script>alert('{0}')</script>", ex.Message);
                Page.ClientScript.RegisterStartupScript(Page.GetType(), "alert", msg);
            }
        }
    }
}